//=====================================================================================
// This file is a "Sample" as from Windows Workflow Foundation
// Hands on Labs RC
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is intended only as a supplement to Microsoft
// Development Tools and/or on-line documentation.  See these other
// materials for detailed information regarding Microsoft code samples.
// 
// THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//=====================================================================================

using System;
using System.Workflow.Activities;
using SLS.ExClassLib.Message;
namespace SLS.ExClassLib.Events
{
    [Serializable]
    public class ExMessageExEventArgs : ExternalDataEventArgs
    {
        public MessageEx _msgExRequest;
        public Guid WFInstanceID;
        public ExMessageExEventArgs(Guid instanceId, MessageEx msg)
            : base(instanceId)
        {
            _msgExRequest = msg;
            WFInstanceID = instanceId;
        }

        public MessageEx MsgExRequest
        {
            get { return _msgExRequest; }
            set { _msgExRequest = value; }
        }
    }
    [Serializable]
    public class ExPingPangMessage
    {
        public ExPingPangMessage(string Answer,string Question)
        {
            this.m_Question = Question;
            this.m_Answer = Answer;
        }
        private string m_Answer;
        public string Answer
        {
            get { return m_Answer; }
            set { m_Answer = value; }
        }
        private string m_Question;
        public string Question
        {
            get { return m_Question; }
            set { m_Question = value; }
        }
 
    }
}
